package com.pianzhu.blockchainemr.mapper;

import com.pianzhu.blockchainemr.pojo.EmrUser;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Mapper
public interface LoginMapper {
    EmrUser login(String username, String password);

    void logout(String username, LocalDateTime now);
}
